﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models
{
    /// <summary>
    /// 疫情追溯
    /// </summary>
    public class YqzsModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Required]
        public Guid YqzsId { get; set; }
        /// <summary>
        /// 体温
        /// </summary>
        [Required(ErrorMessage = "请输入体温！")]
        public float BodyTemperature { get; set; }
        /// <summary>
        /// 症状
        /// </summary>
        [Required(ErrorMessage = "请选择症状！")]
        public string Symptom { get; set; }
        /// <summary>
        /// 患者接触史
        /// </summary>
        [Required]
        public bool HasTouched { get; set; }
        /// <summary>
        /// 是否留守
        /// </summary>
        [Required]
        public bool StayWorking { get; set; }
        /// <summary>
        /// 筛查结果
        /// </summary>
        [Required(ErrorMessage = "请选择筛查结果！")]
        public string SurveyResult { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 轨迹列表
        /// </summary>
        public IEnumerable<TrackModel> Tracks { get; set; }
        ///// <summary>
        ///// 人员
        ///// </summary>
        //public EmployeeModel Employee { get; set; }
        /// <summary>
        /// 附件
        /// </summary>
        public IList<AttachmentModel> Attachments { get; set; }
    }
}
